﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CeA.Reports.Atendimento.DataAccess.Criteria {
    public class DiaCriteria {
        private int m_id;
        private List<int> m_diaIdList;
        private int m_dia;
        private int m_mes;
        private int m_ano;
        private int m_semana;
        private string m_dia_tipo;

        public int Dia {
            get { return m_dia; }
            set { m_dia = value; }
        }

        public int Mes {
            get { return m_mes; }
            set { m_mes = value; }
        }

        public int Ano {
            get { return m_ano; }
            set { m_ano = value; }
        }

        public int Semana {
            get { return m_semana; }
            set { m_semana = value; }
        }

        public string Dia_Tipo {
            get { return m_dia_tipo; }
            set { m_dia_tipo = value; }
        }

        public List<int> DiaIdList {
            get { return m_diaIdList; }
        }

        public DiaCriteria() {
            m_diaIdList = new List<int>();
        }

        public DiaCriteria addDia(int diaId) {
            m_diaIdList.Add(diaId);
            return this;
        }

        public int Id {
            get { return m_id; }
            set { m_id = value; }
        }
    }
}
